<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/10
 * Time: 12:27
 */

namespace common\business\db;


use common\models\mdm\MdmDept;

class MdmDeptDbCurd extends DbCrudWithLog
{

    /**
     * @param $id integer
     * @return MdmDept
     */
    public function read($id)
    {
        return MdmDept::findOne(['PK_DEPARTMENT' => $id]);
    }
}